import {ResObjPropNameConst} from './res-prop-name-const.ts'

/**
 * 响应状态常量对象，每个响应状态常量对象包含响应状态和相应的描述信息
 */
export const ResStatusConst = {
  SUCCESS: {
    [ResObjPropNameConst.STATUS]: true,
    [ResObjPropNameConst.MESSAGE]: '成功'
  },
  FAIL: {
    [ResObjPropNameConst.STATUS]: false,
    [ResObjPropNameConst.MESSAGE]: '失败'
  },
}
